﻿@{
    Layout = "";
}
@model ConfigureModel
@using Nop.Plugin.Payments.UsaEpay.Models;
@using Nop.Web.Framework;
@Html.Action("StoreScopeConfiguration", "Setting", new { area = "Admin" })
@using (Html.BeginForm())
{
    <table class="adminContent">
        <tr>
            <td colspan="2">
                <b>@T("Plugins.Payments.UsaEpay.Notes")</b>
            </td>
        </tr>
        <tr>
            <td class="adminTitle">
                @Html.OverrideStoreCheckboxFor(model => true, model => model.OverrideStoreAdditionalFee, Model.ActiveStoreScopeConfiguration)
                @Html.NopLabelFor(model => model.AdditionalFee):
            </td>
            <td class="adminData">
                @Html.EditorFor(model => model.AdditionalFee)
                @Html.ValidationMessageFor(model => model.AdditionalFee)
            </td>
        </tr>
        <tr>
            <td class="adminTitle">
                @Html.OverrideStoreCheckboxFor(model => true, model => model.OverrideStoreAdditionalFeePercentage, Model.ActiveStoreScopeConfiguration)
                @Html.NopLabelFor(model => model.AdditionalFeePercentage):
            </td>
            <td class="adminData">
                @Html.EditorFor(model => model.AdditionalFeePercentage)
                @Html.ValidationMessageFor(model => model.AdditionalFeePercentage)
            </td>
        </tr>
        <tr>
            <td class="adminTitle">
                @Html.OverrideStoreCheckboxFor(model => true, model => model.OverrideStorePin, Model.ActiveStoreScopeConfiguration)
                @Html.NopLabelFor(model => model.Pin):
            </td>
            <td class="adminData">
                @Html.EditorFor(model => model.Pin)
                @Html.ValidationMessageFor(model => model.Pin)
            </td>
        </tr>
        <tr>
            <td class="adminTitle">
                @Html.OverrideStoreCheckboxFor(model => true, model => model.OverrideStoreSourceKey, Model.ActiveStoreScopeConfiguration)
                @Html.NopLabelFor(model => model.SourceKey):
            </td>
            <td class="adminData">
                @Html.EditorFor(model => model.SourceKey)
                @Html.ValidationMessageFor(model => model.SourceKey)
            </td>
        </tr>
        <tr>
            <td class="adminTitle">
                @Html.OverrideStoreCheckboxFor(model => true, model => model.OverrideStoreUrl, Model.ActiveStoreScopeConfiguration)
                @Html.NopLabelFor(model => model.Url):
            </td>
            <td class="adminData">
                @Html.EditorFor(model => model.Url)
                @Html.ValidationMessageFor(model => model.Url)
            </td>
        </tr>
        <tr>
            <td colspan="2" width="100%">
                <input type="submit" name="save" class="t-button" value="@T("Admin.Common.Save")" />
            </td>
        </tr>
    </table>
    
}